Merged [13770]: Enabled saving ICQ aliases set in Adium to the server. Fixes #466
[adiumx.git] / Gaim Service / ESTrepiaService.m
blobb94280014d83d7c30f7b581bb01d5820bc0cacb9
1 /* 
2  * Adium is the legal property of its developers, whose names are listed in the copyright file included
3  * with this source distribution.
4  * 
5  * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6  * General Public License as published by the Free Software Foundation; either version 2 of the License,
7  * or (at your option) any later version.
8  * 
9  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
11  * Public License for more details.
12  * 
13  * You should have received a copy of the GNU General Public License along with this program; if not,
14  * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15  */
17 #import "ESTrepiaService.h"
18 #import "ESGaimTrepiaAccount.h"
19 #import "ESGaimTrepiaAccountViewController.h"
20 #import "DCGaimTrepiaJoinChatViewController.h"
22 @implementation ESTrepiaService
24 //Account Creation
25 - (Class)accountClass{
26         return([ESGaimTrepiaAccount class]);
29 - (AIAccountViewController *)accountViewController{
30     return([ESGaimTrepiaAccountViewController accountViewController]);
33 - (DCJoinChatViewController *)joinChatView{
34         return([DCGaimTrepiaJoinChatViewController joinChatView]);
37 //Service Description
38 - (NSString *)serviceCodeUniqueID{
39         return(@"libgaim-Trepia");
41 - (NSString *)serviceID{
42         return(@"Trepia");
44 - (NSString *)serviceClass{
45         return(@"Trepia");
47 - (NSString *)shortDescription{
48         return(@"Trepia");
50 - (NSString *)longDescription{
51         return(@"Trepia");
53 - (NSCharacterSet *)allowedCharacters{
54         return([NSCharacterSet characterSetWithCharactersInString:@"+abcdefghijklmnopqrstuvwxyz0123456789@._"]);
56 - (NSCharacterSet *)ignoredCharacters{
57         return([NSCharacterSet characterSetWithCharactersInString:@""]);
59 - (int)allowedLength{
60         return(24);
62 - (BOOL)caseSensitive{
63         return(NO);
65 - (AIServiceImportance)serviceImportance{
66         return(AIServiceSecondary);
69 @end